package com.demo.util;

import java.time.format.DateTimeFormatter;

public class DateContants {

    private DateContants() {}

    public static final String DEFAULT_YEAR_FORMAT = "yyyy";

    public static final String DEFAULT_MONTH_FORMAT = "yyyy-MM";

    public static final String DEFAULT_MONTH_FORMAT_SLASH = "yyyy/MM";

    public static final String DEFAULT_MONTH_FORMAT_EN = "yyyy年MM月";

    public static final String DEFAULT_WEEK_FORMAT = "yyyy-ww";

    public static final String DEFAULT_WEEK_FORMAT_EN = "yyyy年ww周";

    public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd";

    public static final String DEFAULT_DATE_FORMAT_EN = "yyyy年MM月dd日";

    public static final String DEFAULT_DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

    public static final String DEFAULT_DATE_TIME_FORMAT_EN = "yyyy年MM月dd日HH时mm分ss秒";

    public static final String DEFAULT_TIME_FORMAT = "HH:mm:ss";

    public static final String DAY = "DAY";

    public static final String MONTH = "MONTH";

    public static final String WEEK = "WEEK";

    public static final String TIME_FORMAT_VERSION = "yyyyMMddHHmmssSSS";
    
    public static final DateTimeFormatter FULL_TIME_FORMATTER = DateTimeFormatter.ofPattern(DEFAULT_DATE_TIME_FORMAT);

    public static final DateTimeFormatter YEAR_MONTH_DAY_FORMATTER = DateTimeFormatter.ofPattern(DEFAULT_DATE_FORMAT);

    public static final DateTimeFormatter TIME_FORMATTER = DateTimeFormatter.ofPattern(DEFAULT_TIME_FORMAT);



}
